package com.ccxy.springboot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
        import org.springframework.stereotype.Repository;

        import java.util.List;
        import java.util.Map;

@Mapper
@Repository
public interface BootMapper {
    @Select("select * from people where username=#{username} and password=#{password}")
    public List<Map> login(Map map);

    @Select("Select chinese,adcode from city")
    public List<Map> querycity();

}
